
#ifndef _TTG_PIPELINE_CLOCK_
#define _TTG_PIPELINE_CLOCK_
#include "Common/Definitions.h"

namespace ttg_internal
{
	namespace threads
	{
		//Essence, that provides current time.
		class Clock
		{
			public:
				//Returns current time in seconds.
				//Note: it should be used only for time interval measuring. Not for absolute time.
				virtual double getSeconds() = 0;
				//For descendants.
				virtual ~Clock()
				{ /*nothing*/ }
		};
	}
}

#include "Win32/Win32Clock.h"

#endif
